<template>
  <el-result
    icon="warning"
    title="404"
    sub-title="页面不存在"
  >
    <template #extra>
      <el-button
        type="primary"
        @click="handleBackHome"
      >返回首页</el-button>
    </template>
  </el-result>
</template>

<script setup>
const handleBackHome = () => {
  location.href = "/"
}
</script>
